﻿using System.ComponentModel;

namespace ZenSystemService.Api.Common
{
    public enum UserType
    {
        //机构用户
        Institution,
        //C端用户
        Trainee,
        //默认机构管理员用户，不可删除
        DefaultAdmin
    }


    //课程状态
    public enum CourseStatus
    {

        /// <summary>
        /// 未开始
        /// </summary>
        [DescriptionAttribute("未开始")]
        NotStarted = 0,

        /// <summary>
        /// 进行中
        /// </summary>
        [DescriptionAttribute("进行中")]
        Starting = 1,

        /// <summary>
        /// 已结束
        /// </summary>
        [DescriptionAttribute("已结束")]
        Ended = 2


    }

    /// <summary>
    /// 课程训练项状态
    /// </summary>
    public enum CourseTrainingItemState
    {
        /// <summary>
        /// 未开始
        /// </summary>
        [DescriptionAttribute("未开始")]
        NotStarted = 0,

        /// <summary>
        /// 进行中
        /// </summary>
        [DescriptionAttribute("进行中")]
        Starting = 1,

        /// <summary>
        /// 已结束
        /// </summary>
        [DescriptionAttribute("已结束")]
        Ended = 2
    }


    /// <summary>
    /// 学员关系表
    /// </summary>
    public enum TraineeRelation
    {

        /// <summary>
        /// 父亲
        /// </summary>
        [DescriptionAttribute("父亲")]
        Father =1,

        /// <summary>
        /// 母亲
        /// </summary>
        [DescriptionAttribute("母亲")]
        Mother = 2,

        /// <summary>
        /// 儿子
        /// </summary>
        [DescriptionAttribute("儿子")]
        Son = 3,


        /// <summary>
        /// 女儿
        /// </summary>
        [DescriptionAttribute("女儿")]
        Daughter = 4,


        /// <summary>
        /// 丈夫
        /// </summary>
        [DescriptionAttribute("丈夫")]
        Husband = 5,


        /// <summary>
        /// 妻子
        /// </summary>
        [DescriptionAttribute("妻子")]
        Wife = 6,


        /// <summary>
        /// 其他
        /// </summary>
        [DescriptionAttribute("其他")]
        Other = 100
    }

    public class DicObj
    { 
        public int value { get; set; }

        public string name { get; set; }
    }



}
